.page-shop-index {
  /* 店铺首页 */
  .shop-index {
    .shop-head {
      margin: 10px auto;
      display: flex;
      justify-content: flex-start;
      max-width: 1200px;
      .shop-logo {
        height: 116px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-right: 4px;
        margin-right: 40px;
        .img {
          line-height: 116px;
          font-size: 0;
          img {
            width: 80px;
            height: 80px;
            max-width: 80px;
            max-height: 80px;
            vertical-align: middle;
          }
        }
        .text {
          margin-left: 20px;
          border-right: 1px solid #eee;
          padding-right: 40px;
          .name {
            font-size: 24px;
          }
          .operation {
            display: flex;
            margin-top: 10px;
            align-items: center;
            .self {
              background: #e1251b;
              padding: 1px 3px;
              color: #fff;
              font-family: "微软雅黑";
              border-radius: 2px;
              margin-right: 15px;
            }
            .favourite {
              height: 16px;
              line-height: 16px;
              cursor: pointer;
              position: relative;
              font-family: "微软雅黑";
              color: #666;
              display: flex;
              align-items: center;
              &:hover {
                color: #e1251b;
                .icon {
                  background-position: -80px -135px;
                }
              }
              .icon {
                display: inline-block;
                width: 16px;
                height: 16px;
                background: url(@/assets/images/icons.png) no-repeat 0 -135px;
                margin-right: 5px;
              }
            }
            .favourite.active {
              .icon {
                background-position: -21px -135px;
              }
            }
            .last-favourite {
              margin-left: 15px;
            }
          }
        }
      }
    }
  }

  /* 店铺公告 */
  .shop-index {
    .shop-head {
      .shop-news {
        display: flex;
        flex-direction: column;
        width: 340px;
        padding: 20px 0;
        height: 116px;
        box-sizing: border-box;
        .news-tit {
          display: flex;
          margin-bottom: 10px;
          justify-content: space-between;
          .tit {
            font-size: 14px;
            font-weight: bold;
          }
          .more {
            color: #666;
            position: relative;
            &::after {
              position: absolute;
              top: 5px;
              content: '';
              display: inline-block;
              height: 4px;
              width: 4px;
              border-top: 1px solid #666;
              border-right: 1px solid #666;
              transform: rotate(45deg);
            }
            &:hover {
              border-color: #e43130;
              cursor: pointer;
              color: #e43130;
              &::after {
                border-color: #e43130;
                cursor: pointer;
                color: #e43130;
              }
            }
          }
        }
        .news-list-con {
          display: flex;
          flex-direction: column;
          .news-item {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-bottom: 10px;
            width: auto;
            max-width: 100%;
            &:hover {
              color: #e43130;
              cursor: pointer;
            }
          }
        }
        .news-empty {
          color: #666;
          margin-top: 10px;
        }
      }
    }
    .shop-menu {
      background: #000;
      color: #fff;
      .menu-box {
        display: flex;
        width: 990px;
        height: 40px;
        margin: auto;
        position: relative;
        .menu-list {
          flex: 1;
          display: flex;
          overflow: hidden;
          flex-wrap: wrap;
          .menu {
            .menu-link {
              display: block;
              padding: 0 20px;
              line-height: 40px;
              font-weight: 600;
              color: #ffffff;
              font-size: 14px;
            }
            &:hover {
              .menu-link {
                background: #777;
              }
              .menu-wrap {
                display: block;
              }
            }
            .menu-wrap {
              position: absolute;
              left: 0;
              top: 40px;
              right: 0;
              z-index: 88;
              padding: 0 10px 15px;
              background-color: #fff;
              color: #000;
              box-shadow: 0 0 10px rgba(0, 0, 0, .1);
              display: none;
              .wrap-item {
                margin: 15px 35px 0;
                float: left;
                .item-tit {
                  padding-bottom: 5px;
                  font-weight: 600;
                }
                .wrap-con {
                  margin-top: 5px;
                  .item-a {
                    display: block;
                    line-height: 16px;
                    padding: 3px 0;
                    color: #777;
                    &:hover {
                      color: #e1251b;
                    }
                  }
                }
              }
              .item-tit-no {
                font-size: 18px;
                font-weight: 400;
                margin-left: 450px;
                margin-top: 10px;
              }
            }
          }
          .menu.all-category {
            .menu-link {
              padding-right: 38px;
              position: relative;
              &:after {
                position: absolute;
                right: 17px;
                top: 19px;
                display: block;
                width: 0;
                height: 0;
                content: " ";
                border: 5px solid transparent;
                border-top: 5px solid #fff;
                border-radius: 2px;
              }
            }
          }
        }
        .shop-search {
          display: flex;
          align-items: center;
          .s-input {
            width: 85px;
            height: 22px;
            padding: 0 5px;
            font-family: arial;
          }
          .s-btn {
            padding: 0 10px;
            border: 0;
            height: 22px;
            background-color: #666;
            color: #fff;
            font-family: arial;
          }
        }
      }
    }
    .shop-banner {
      font-size: 0;
      height: 450px;
    }
    .shop-content {
      margin-top: 40px;
      .tit {
        font-size: 18px;
        text-align: center;
        height: 22px;
        line-height: 22px;
        font-weight: 600;
        padding-bottom: 5px;
        .bg-l {
          display: inline-block;
          width: 35px;
          height: 18px;
          background: url(@/assets/images/icons.png) no-repeat 0 -763px;
          margin-top: 4px;
          vertical-align: top;
          margin-right: 15px;
        }
        .bg-r {
          display: inline-block;
          width: 35px;
          height: 18px;
          background: url(@/assets/images/icons.png) no-repeat 0 -763px;
          margin-top: 4px;
          vertical-align: top;
          margin-left: 15px;
        }
      }
    }
  }

  /* 店铺首页 end */

  /* 首页轮播 */
  .banner {
    .el-carousel.el-carousel--horizontal {
      ul.el-carousel__indicators--horizontal {
        .el-carousel__button {
          background: #e1251b !important;
        }
        bottom: 45px !important;
      }
    }
  }
  .el-carousel {
    width: 100%;
    height: 100%;
  }
  .el-carousel-item {
    width: 100%;
    height: 100%;
  }
  .el-carousel__container {
    width: 100%;
    height: 100%;
  }

  /* banner */
  .banner {
    width: 100%;
    height: 450px;
    .item {
      position: relative;
      max-width: 100%;
      height: 100%;
      font-size: 0;
      img {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
      }
    }
  }

  /* banner end  */
  .activity {
    background-color: #e43130;
    padding: 0 10px;
    margin-left: 5px;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
  }
  .el-pagination {
    text-align: right;
    padding: 0 30px;
    padding-top: 20px;
    span {
      &:not([class*='suffix']) {
        padding: 0 8px !important;
      }
    }
  }
  .pagination {
    .el-pagination {
      button {
        padding: 0 8px !important;
      }
    }
    .el-pagination.is-background {
      .btn-next {
        background-color: #fff !important;
      }
    }
    .el-pagination__editor.el-input {
      .el-input__inner {
        width: 30px !important;
      }
    }
  }
  .el-pagination.is-background {
    .btn-prev {
      background-color: #fff !important;
    }
    .el-pager {
      li {
        background-color: #fff !important;
      }
    }
  }
  .empty {
    .action {
      .btn-r {
        display: inline-block;
        padding: 6px 18px;
        border: 1px solid #ddd;
        background: #f9f9f9;
        border-radius: 30px;
        margin-top: 20px;
        margin-left: 10px;
        color: #666;
        &:hover {
          background: #fff;
        }
      }
    }
  }
  .goods-list {
    .list-con {
      .item {
        .goods-price {
          text-align: center;
          margin-top: 10px;
          .price {
            display: inline-block;
          }
        }
        .goods-msg {
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          word-break: break-word;
          overflow: hidden;
          text-overflow: ellipsis;
          .goods-name {
            height: 18px;
          }
        }
      }
    }
  }
  .activity-sign {
    display: inline-block;
    padding: 1px 3px;
    border-radius: 2px;
    background: #e1251b;
    color: #fff;
    font-size: 12px;
  }

}
